#ifndef SAFEMEM_H
#define	SAFEMEM_H

#include "ace/Synch.h"
extern ACE_Thread_Mutex globalMutex;
#define SAFEGUARD(oper) 	globalMutex.acquire();oper;globalMutex.release()
#endif